﻿@{
    ViewBag.Title = "Login";
    Layout = "~/Views/Share/_Layout.cshtml";
}

<h2>Login</h2>
<div style="width:22%">

    @using (Html.BeginForm("login", "Account", FormMethod.Post))
    {
        <input type="text" placeholder="用户名" name="uname" id="uname" />
        <input type="text" placeholder="密码" name="pwd" id="uname" />
        <input type="submit" value="登录" />
    }
    <br />
    <div id="loginStatus" style="text-align:center">
        @ViewBag.LoginStatus
    </div>
</div>
